package com.epoint.netty.rpc.client;

import com.epoint.netty.rpc.server.UserService;
import com.epoint.netty.rpc.server.impl.UserServiceImpl;

public class V2Demo {

    public static void main(String[] args) {
        UserServiceImpl userService = new UserServiceImpl();
        FeignProxy feignProxy = new FeignProxy();

        UserService proxy = feignProxy.getProxy(UserService.class);

        proxy.getUserByName("纪宽豪");
    }

}
